﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.IDAL
{
    public interface IAbsenceDAL
    {
        IList<hrm_ps_absence> GetAllAbsence(string bgm_year, string month, string emp_seq);
        Decimal GetSumAbsence(string record_status, string bgm_year, string month, string emp_seq);
        IList<hrm_ps_absence> GetAbsence(string working_date, string emp_seq);
        IList<AbsenceInfo> ListAbsences(AbsenceInfo abInfo);
        IList<AbsenceInfo> TreeViewAbsences(AbsenceInfo abInfo);
        DataSet LoadAbsences(AbsenceInfo abInfo);
        void Insert(AbsenceInfo Info);
        void Update(AbsenceInfo Info);
        void Delete(int Sequence, int UpdatedBy);
        DataSet GetEmployeeNameList(int EmpSequence);
        //for service
        IList<hrm_ps_absence> GetAbsenceDays(string emp_seq);
    }
}
